package com.kingdee.eas.minghua.contract;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class HybrkFactory
{
    private HybrkFactory()
    {
    }
    public static com.kingdee.eas.minghua.contract.IHybrk getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IHybrk)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("D0968835") ,com.kingdee.eas.minghua.contract.IHybrk.class);
    }
    
    public static com.kingdee.eas.minghua.contract.IHybrk getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IHybrk)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("D0968835") ,com.kingdee.eas.minghua.contract.IHybrk.class, objectCtx);
    }
    public static com.kingdee.eas.minghua.contract.IHybrk getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IHybrk)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("D0968835"));
    }
    public static com.kingdee.eas.minghua.contract.IHybrk getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.minghua.contract.IHybrk)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("D0968835"));
    }
}